ResponseStarted

An event indicating that the first byte of the URL response body has been received. For HTTP requests, this means that the status line and the response headers are available.

Functions

Link copied to clipboard
open fun network(): Network
Returns the Network instance initiated this event.
Link copied to clipboard
open fun responseCode(): Int
Returns the HTTP response code.
Link copied to clipboard
Returns the URL request associated with the response.